import pytest

# 初始化一个search实例，调用goto方法，返回FuncPage(self.driver)
@pytest.fixture(name='search', scope="session")
def init_search(app):
    print('search setup_class')
    search = app.goto_search()
    yield search
